#ifndef _LPUART_DMA_H
#define _LPUART_DMA_H

#include "zf_uart.h"
#include "fsl_lpuart_edma.h"
#include "fsl_lpuart.h"

void dma_init();

void uart_dma_edma_init(UARTN_enum uartn, uint32_t bound, UARTPIN_enum tx_pin, UARTPIN_enum rx_pin,
												uint8_t TX_channel, uint8_t RX_channel, /*DMA?*/
												lpuart_edma_transfer_callback_t LPUART_UserCallback, /*edma?*/
												lpuart_edma_handle_t *g_lpuartEdmaHandle,  /**/
												edma_handle_t *g_lpuartTxEdmaHandle, edma_handle_t *g_lpuartRxEdmaHandle);				

#endif